package com.weichen.xd.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Dune on 2017/9/11.
 */

public class Tmp implements Parcelable {

    public static final Parcelable.Creator<Tmp> CREATOR = new Parcelable.Creator<Tmp>() {
        @Override
        public Tmp createFromParcel(Parcel source) {
            return new Tmp(source);
        }

        @Override
        public Tmp[] newArray(int size) {
            return new Tmp[size];
        }
    };
    /**
     * max : 28
     * min : 23
     */

    @SerializedName("max")
    private String max;
    @SerializedName("min")
    private String min;

    public Tmp() {
    }

    protected Tmp(Parcel in) {
        this.max = in.readString();
        this.min = in.readString();
    }

    public String getMax() {
        return max;
    }

    public void setMax(String max) {
        this.max = max;
    }

    public String getMin() {

        return min;
    }

    public void setMin(String min) {
        this.min = min;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.max);
        dest.writeString(this.min);
    }
}
